package com.joke.mydiary.pojo;

import java.io.Serializable;
import java.util.Date;

/**
 * Created by Administrator on 2015/11/30.
 */
public class Diary implements Serializable {

    private int _id;
    private Date date;
    private String content;
    private String imagePath;

    public Diary() {
    }

    public Diary(int _id, Date date, String content, String imagePath) {
        this._id = _id;
        this.date = date;
        this.content = content;
        this.imagePath = imagePath;
    }

    public Diary(Date date, String content, String imagePath) {
        this.date = date;
        this.content = content;
        this.imagePath = imagePath;
    }

    public int get_id() {
        return _id;
    }

    public void set_id(int _id) {
        this._id = _id;
    }

    public Date getDate() {
        return date;
    }

    public void setDate(Date date) {
        this.date = date;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public String getImagePath() {
        return imagePath;
    }

    public void setImagePath(String imagePath) {
        this.imagePath = imagePath;
    }

    @Override
    public String toString() {
        return "Diary{" +
                "_id=" + _id +
                ", date=" + date +
                ", content='" + content + '\'' +
                ", imagePath='" + imagePath + '\'' +
                '}';
    }
}
